﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace ChoMy.Models.Data
{
    public class History
    {
        [Key]
        public DateTime DateTime { get; set; }
        public string Description { get; set; }
        public int Priority { get; set; }

        public int HistoryTypeId { get; set; }
        public virtual HistoryType HistoryType { get; set; }

        public History()
        {
            Priority = 0;
        }
    }
}